ci: fix features for -sys
authorFelix Krull <f_krull@gmx.de>
Tue, 27 Aug 2019 23:07:30 +0000 (01:07 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:54 +0000 (12:53 -0400)
rust-bindings/rust/.gitlab-ci.yml

index 0d2d0c453fd7bdf98a5022341b1ca01ff18a5c87..0cea1a9b5c7e6055b38c838f73bb930ab0eac0f2 100644 (file)
@@ -38,18 +38,20 @@ check:
   script:
   - rustup component add clippy
   - cargo clippy --all ${FEATURES} -- -D warnings
-  - cargo test --verbose --manifest-path sys/Cargo.toml ${FEATURES}
+  - cargo test --verbose --manifest-path sys/Cargo.toml ${SYS_FEATURES}
   - cargo test --verbose ${FEATURES}
 
 ostree:
   <<: *build-step
   variables:
     # TODO: update
+    SYS_FEATURES: --features v2018_9
     FEATURES: --features v2018_9,futures
 
 ostree_default-features:
   <<: *build-step
   variables:
+    SYS_FEATURES: ""
     FEATURES: ""
 
 # docs